import { reactive } from "vue";
import type { FormRules } from "element-plus";

/** 自定义表单规则校验 */
export const formRules = reactive(<FormRules>{
  gain_limt: [{ required: true, message: "客户领取数阀值为必填项", trigger: "blur" }],
  lock_limit: [{ required: true, message: "客户锁定数阀值为必填项", trigger: "blur" }],
  silent_day: [{ required: true, message: "公海客户静默期（天）为必填项", trigger: "blur" }],
  valid_day: [{ required: true, message: "释放到公海因未跟进天数为必填项", trigger: "blur" }],
  sea_limit: [{ required: true, message: "进入公海次数上限为必填项", trigger: "blur" }],
});